package com.dhcc.core.modules.system.transfer;

/**
 * DeptRoleDto传输bean
 * 
 * @ClassName: DeptRoleDto
 * @Description: TODO
 * @author: cyf
 * @date: 2018年1月2日 上午10:43:06
 */
public class DeptRoleDto {

    private Long id;

    // 部门id
    private Long deptId;
    // 部门code
    private String deptCode;
    // 部门id
    private String deptName;
    // 用户id
    private Long userId;
    // 是否兼职0：主部门 1：兼职
    private Integer isPartTime;
    // 角色ids
    private String roleIds;
    // 角色code
    private String roleCodes;
    // 角色nms
    private String roleNames;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getDeptId() {
        if(deptId==null){
            return 0l;
        }
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getIsPartTime() {
        return isPartTime;
    }

    public void setIsPartTime(Integer isPartTime) {
        this.isPartTime = isPartTime;
    }

    public String getRoleIds() {
        return roleIds;
    }

    public void setRoleIds(String roleIds) {
        this.roleIds = roleIds;
    }

    public String getRoleNames() {
        return roleNames;
    }

    public void setRoleNames(String roleNames) {
        this.roleNames = roleNames;
    }

    public String getDeptCode() {
        return deptCode;
    }

    public void setDeptCode(String deptCode) {
        this.deptCode = deptCode;
    }

    public String getRoleCodes() {
        return roleCodes;
    }

    public void setRoleCodes(String roleCodes) {
        this.roleCodes = roleCodes;
    }

}
